// *** ADDED BY HEADER FIXUP ***
#include <wx/socket.h>
// *** END ***
// *** ADDED BY HEADER FIXUP ***
#include <wx/event.h>
#include <wx/string.h>
#include <wx/window.h>
// *** END ***
#ifndef AddQueryDlg_H
#define AddQueryDlg_H

//(*Headers(AddQueryDlg)
#include <wx/sizer.h>
#include <wx/stattext.h>
#include <wx/checkbox.h>
#include <wx/choice.h>
#include <wx/button.h>
#include <wx/dialog.h>
//*)
#include "NewQueryDlg.h"
class AddQueryDlg: public wxDialog
{
	public:

		AddQueryDlg(wxWindow* parent);
		virtual ~AddQueryDlg();
        void AddQueryType(const wxString& type);
        void RemoveQueryType(const wxString& type);
        bool IsThat();
        void SelectThat(bool opt);
		int ShowModal(const wxString& query);
		wxString queryType, answer;
	protected:
		void BuildContent(wxWindow* parent);
		//(*Identifiers(AddQueryDlg)
		static const long ID_STATICTEXT1;
		static const long ID_STATICTEXT3;
		static const long ID_STATICTEXT2;
		static const long ID_CHOICE1;
		static const long ID_BUTTON2;
		static const long ID_CHECKBOX1;
		static const long ID_BUTTON1;
		//*)
		//(*Handlers(AddQueryDlg)
		void OnbnEnterClick(wxCommandEvent& event);
		void OnbnNewTypeClick(wxCommandEvent& event);
		//*)
		//(*Declarations(AddQueryDlg)
		wxStaticText* StaticText2;
		wxChoice* choice;
		wxStaticText* lbQuery;
		wxStaticText* StaticText1;
		wxButton* bnEnter;
		wxButton* bnNewType;
		wxCheckBox* cbThat;
		//*)
		wxString resStr;
        NewQueryDlg newQueryDlg;
		DECLARE_EVENT_TABLE()
};

#endif
